package com.puyu.xliangyu.security.reading.biz;

import com.ace.cache.annotation.Cache;
import com.puyu.xliangyu.security.common.biz.BaseBiz;
import com.puyu.xliangyu.security.reading.entity.Books;
import com.puyu.xliangyu.security.reading.mapper.BooksMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-08 16:23
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class BooksBiz extends BaseBiz<BooksMapper,Books> {

    @Override
    @Cache(key="permission:books")
    public List<Books> selectListAll() {
        return super.selectListAll();
    }


}
